//单位
export const UNIT = (param) => {
  let obj = {
    pm10: 'ug/m³',
    pm25: 'ug/m³',
    tsp: 'ug/m³',
    so2: 'ug/m³',
    no2: 'ug/m³',
    co: 'mg/m³',
    o3: 'ug/m³',
    no: 'ug/m³',
    temperature: '',
    humidity: '%',
    pressure: 'Kpa',
    windspeed: 'm/s',
    winddrection: '',
  };
  return obj[param] ? obj[param] : '';
}
export const FULL_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss"; //moment 日期格式化;